import 'dart:isolate';

var i = 0;
void say(var msg) {
  i++;
  print('${i} execution from say ... the message is :${msg}');
}

void main() {
  Isolate.spawn(say, 'Hello!!');
  Isolate.spawn(say, 'Whats up!!');
  Isolate.spawn(say, 'Welcome!!');

  print('execution from main1');
  print('execution from main2');
  print('execution from main3');
  print(i);
}
